package ooday02homework;

public class Test {
    public static void main(String[] args) {
        Student student = new Student("吴羽", 22,
                "长沙", "jsd2407" , "001");
        student.eat();student.sleep();student.study();
        student.sayHi();
        Teacher teacher = new Teacher("吴羽uu", 234, "长沙", 40000.0);
        teacher.eat();teacher.sleep();teacher.teach();
        teacher.sayHi();

        Doctor doctor = new Doctor("我i我i", 234, "长沙", "外科医生");
        doctor.eat();doctor.sleep();doctor.cut();
        doctor.sayHi();
    }
}
